package com.tencent.wxcloudrun.dao;

import com.tencent.wxcloudrun.model.OrderGoodsReq;
import com.tencent.wxcloudrun.model.PayReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;


/**
 * ClassName: GoodsMapper
 * Package: com.tencent.wxcloudrun.dao
 * Description:
 *
 * @Date: 2023/1/22 11:30 AM
 * @Author: wht
 */
@Repository
@Mapper
public interface OrderGoodsMapper {

    List<PayReq> getOrderGoodsList(OrderGoodsReq req);

    List<PayReq> getOrderGoodsShow(@Param("shop_id") Integer shop_id);

    Integer updateOrderGoodsStatus(@Param("id") Integer id, @Param("status") Integer status);

}
